package com.jingyanzi.marketing.service;

import com.jingyanzi.marketing.domain.AccountDiscountDo;
import com.jingyanzi.marketing.query.AccountDiscountQuery;
import com.jingyanzi.marketing.result.ResultDO;

public interface IAccountDiscountService {

	/**
	 * 添加会员优惠卷
	 * @param maAccountDiscountDo
	 * @return
	 */
	public ResultDO add(AccountDiscountDo maAccountDiscountDo);
	/**
	 * 修改会员优惠卷
	 * @param maAccountDiscountDo
	 * @return
	 */
	public ResultDO modifi(AccountDiscountDo maAccountDiscountDo);
	/**
	 * 删除会员优惠卷
	 * @param id
	 * @return
	 */
	public ResultDO remove(Integer id);
	/**
	 * 返回会员优惠卷
	 * @param id
	 * @return
	 */
	public ResultDO get(Integer id);
	/**
	 * 查询会员优惠卷
	 * @param maAccountDiscountQuery
	 * @return
	 */
	public ResultDO query(AccountDiscountQuery maAccountDiscountQuery);
	
	/**
	 * 查询会员优惠卷数量
	 * @param maAccountDiscountQuery
	 * @return
	 */
	public Integer count(AccountDiscountQuery accountDiscountQuery);
}
